-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SentenceInfo.msg and WordInfo.msg #28
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,2 @@ | |||
Header header |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What kind of use are you planning for header of SentenceInfo.msg?
# please see below URL for more details. | ||
# https://cloud.google.com/speech-to-text/docs/reference/rest/v1/speech/recognize#wordinfo | ||
float64 start_time | ||
float64 end_time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
startTime
and endTime
of original WordInfo are Duration (formatted string). I think duration
is more compatible to it than float64
.
# please see below URL for more details. | ||
# https://cloud.google.com/speech-to-text/docs/reference/rest/v1/speech/recognize#wordinfo | ||
float64 start_time | ||
float64 end_time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
start_time
is duration from the initial time of sentences to the start of the word. This is not clear from the field name itself.
Please add field description or change field name in order to make target use of each field clear to users.
What is this?
Google speech-to-text provide
WordInfo
which hasstart_time
,end_time
,confidence
andspeaker_tag
for each words.For more details, please see https://cloud.google.com/speech-to-text/docs/reference/rest/v1/speech/recognize#wordinfo .
This PR adds
WordInfo.msg
andSentenceInfo.msg
and addsSentenceInfo.msg
toSpeechRecognitionCandidate.msg
.